﻿<?xml version="1.0" encoding="utf-8" ?>
<AdoNetDataAccess connection="$ArticleDBConnection$" >
	<Sql>
		INSERT INTO ArticleGroup(id,name,description,companyId,createdBy,mediaCacheName,dateCreated,isSiteGroup)
			VALUES(@id,@name,@description,@companyId,@createdBy,@mediaCacheName,@dateCreated,@isSiteGroup);
		INSERT INTO PrivilegeLevel(id,privilegeLevel,userGroupid)
			VALUES(CONVERT(NVARCHAR(510),@id),6,@createdBy)
	</Sql>
	<Param name="id" type="UniqueIdentifier"/>
	<Param name="name" type="UnicodeVarChar"/>
	<Param name="description" type="UnicodeVarChar"/>
	<Param name="mediaCacheName" type="UnicodeVarChar"/>
	<Param name="companyId" type="UniqueIdentifier"/>
	<Param name="createdBy" type="UniqueIdentifier"/>
	<Param name="dateCreated" type="DateTime" />
	<Param name="isSiteGroup" type="Bit" />
</AdoNetDataAccess>